import { VxeTablePropTypes,VxeColumnPropTypes } from 'vxe-table'
const tableOption = {
  table: {
    height: 400,
    align: 'center',
    size: 'small',
    opIcon:true,
    round: true,
    columnConfig: { resizable: true },
    maxHeight: 500,
    stripe: true,
    operate:false
  },
  column: [
    {
      type: 'radio',//类型：checkbox复选框 radio单选框  seq序号   类型string 非必传
      width: '60', //列宽 类型string
      align: 'center',
      fixed:'left',
      visible: true
    },
    {
      field: 'title',
      title: '菜单名称', 
      minWidth:120, 
      sortable: false, 
      resizable:true, 
      visible: true, 
      align: 'center',
      showOverflow: 'tooltip',
    },
    {
      field: 'icon',
      title: '菜单图标', 
      minWidth:120, 
      sortable: false, 
      resizable:true, 
      visible: true, 
      align: 'center',
      showOverflow: 'tooltip'
    },
    {
      field: 'parentName',
      title: '上级菜单', 
      minWidth:120, 
      sortable: false, 
      resizable:true, 
      visible: true, 
      align: 'center',
      showOverflow: 'tooltip'
    },
    {
      field: 'type',
      title: '类型', 
      minWidth:120, 
      sortable: false, 
      resizable:true, 
      visible: true, 
      align: 'center',
      showOverflow: 'tooltip'
    }
  ],
  form:{
    labelPosition:'right',
    labelWidth:80,
    statusIcon:false,
    validateOnRuleChange:true,
    size:'default',
    scrollToError: true,
    span:6,
    items:[
      {
        prop:'title',
        label:'菜单名称',
        labelWidth:80,
        inputType:'input',
        span:8,
        placeholder:'',
        clearable:true,
        disabled:false,
        prefixIcon:'',
        suffixIcon:'',
        readonly:false,
        type:'text'
      }
    ]
  }
}


export default tableOption